converting logarithmic equations in exponential form